package com.yuandian.management.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.management.entity.ConfResourceBlacklist;
import com.yuandian.bpm.common.data.datascope.BpmBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * 服务资源黑名单配置表-Mapper接口
 * @author zfsn
 * @date 2023-3-15
 */
@Mapper
public interface ConfResourceBlacklistMapper extends BpmBaseMapper<ConfResourceBlacklist> {

	/**
	 * 分页查询
	 *
	 * @param confExclusiveIndicator 筛选条件
	 * @return 通用返回对象
	 */
	Page<ConfResourceBlacklist> listPage(Page<Object> objectPage, @Param("params") ConfResourceBlacklist confExclusiveIndicator);

	/**
	 * 新增数据
	 *
	 * @param confResourceBlacklist 实例对象
	 * @return 通用返回对象
	 */
	Integer save(@Param("params") ConfResourceBlacklist confResourceBlacklist);


	/**
	 * 根据主键更新数据
	 * @param confResourceBlacklist
	 * @return
	 */
	Integer updateByID(@Param("params") ConfResourceBlacklist confResourceBlacklist);

	List<ConfResourceBlacklist> listByIds(@Param("ids") Collection<? extends Serializable> idList);
}
